<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
<!--    //插值-->
<!--    //不依赖标签-->
    <p>{{info}}</p>
<!--    //v-text让元素的文本内容和变量进行绑定-->
<!--    //必须依赖标签，必须写在标签里面-->
    <p v-text="info"></p>
<!--    //让元素的html内容和变量进行绑定-->
    <p v-html="info"></p>
</div>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.js"></script>
<script>
    let v = new Vue({
        el: "div",
        data: {
            info: "文本测试"
        }
    });
</script>
</body>
</html>